Creating a template

There are two ways of creating templates:

- By saving an existing SNiFF+ project as a template file
- By creating a new project using the Attributes of a New Project dialog and default values from your Preferences

Creating a template using an existing SNiFF+ project

Open the project for which you want to create a template.
In the Project Editor, double-click on the root project in the Project Tree.
The Project Attributes dialog appears.
In the General view, select the As Template radio button and press OK.
The Project Template dialog appears. You will now name the template file and store it onto disk.
In the Template File field, enter a name for the new template file. By default, its extension will be

.ptmpl .
In the Description field, enter a description for the new template file.
Entering a description lets you easily distinguish between a list of template files later on.
By default, template files are stored in your <sniff_installation_dir>/config/project directory. To select a different template file directory, press the Change Directory button at the top of the dialog and use the Directory dialog that appears.
When you are done, press the Save button to save the template file to disk.

| Note
| A template file is created for the current project only. No template files are created for any subprojects that the current project may have.

Creating a template using the Project Attributes dialog

In the Launch Pad, choose Project > New Project... > with Defaults....
The Directory dialog appears.
Press the Select button. The directory that you choose in this dialog is unimportant.
The Attributes of a New Project dialog appears.
Navigate to the General view and, under Save Current Project Attribute Settings, choose the As Template radio button.
Set all other attributes in the Attributes of a New Project dialog according to your needs. When you are done, press the Ok button.
The Project Template dialog appears. You will now name the new template file and store it onto disk.
In the Template File field, enter a name for the new template file. By default, its extension will be

.ptmpl .
In the Description field, enter a description for the new template file.
Entering a description lets you easily distinguish between a list of template files later on.
By default, template files are stored in your <sniff_installation_dir>/config/project directory. To select a different template file directory, press the Change Directory button at the top of the dialog and use the Directory dialog that appears.
When you are done, press the Save button to save the template file to disk.